package com.example.demo.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

@Data
//停车场实体
@TableName("parking_lot")
public class ParkingLot {
    @TableId(type= IdType.AUTO)
    private Long id;
    private String name;
    private int volumetric;//容积，车位数量
    @TableField(value = "pricing_standard_id")
    private long pricingStandardId; //id
    private PricingStandard pricingStandard;//收费标准

}